TenWebOptimizer\OptimizerMain D

Total Complexity 249
Dependencies 15
Dependents 1
Total lines 1,205
Lines of code 866
Logical lines of code 448
Comment lines 93
Methods 20
Properties 46

Methods 20

Method Rating Maintainability Complexity Lines of code
init()
D
11
90 249
end_buffering()
D
23
41 174
add_two_js_footer()
D
29 28 139
should_serve_optimized_page()
A
49 16 28
add_delayed_javascript_execution_script_header()
A
35 9 117
set_modes()
A
51 13 24
reinit_lazy_load_options()
A
56 10 18
two_headers()
A
52 9 23
check_cache_dir()
S
56 7 18
detect_elementor_video_widget()
S
64 5 9
dequeue_jquery_migrate()
S
65 5 8
check_and_create_dirs()
S
62 4 11
get_instance()
S
71 2 6
clear_cache()
S
66 2 8
two_meta()
S
66 2 8
add_optimization_status_headers()
S
71 2 6
get_two_worker_data_script_tag()
S
73 1 4
two_enqueue_styles()
S
78 1 3
two_deregister_styles()
S
81 1 3
__construct()
S
62 1 10